package com.dengyuanke.entity.enums;

import com.baomidou.mybatisplus.enums.IEnum;

import java.io.Serializable;

/**
 * Created by dengyuanke on 2017/11/9.
 */
public enum AdminEnum implements IEnum {
    ADMIN(1,"管理员");

    private int value;
    private String desc;

    AdminEnum(final int value,final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return this.value;
    }
}
